package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataContractpayDao;
import io.renren.entity.DataContractpayEntity;
import io.renren.service.DataContractpayService;



@Service("dataContractpayService")
public class DataContractpayServiceImpl implements DataContractpayService {
	@Autowired
	private DataContractpayDao dataContractpayDao;
	
	@Override
	public DataContractpayEntity queryObject(String id){
		return dataContractpayDao.queryObject(id);
	}
	
	@Override
	public List<DataContractpayEntity> queryList(Map<String, Object> map){
		return dataContractpayDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataContractpayDao.queryTotal(map);
	}
	
	@Override
	public void save(DataContractpayEntity dataContractpay){
		dataContractpayDao.save(dataContractpay);
	}
	
	@Override
	public void update(DataContractpayEntity dataContractpay){
		dataContractpayDao.update(dataContractpay);
	}
	
	@Override
	public void delete(String id){
		dataContractpayDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataContractpayDao.deleteBatch(ids);
	}
	
}
